package com.wwmz.command.pattern.player.action;

import com.wwmz.command.pattern.player.GPlayer;
import com.wwmz.command.pattern.player.IAction;

/**
 * Created by wumz on 2020/9/22 16:42
 */
public class PauseAction implements IAction {
    private GPlayer gplayer;

    public PauseAction(GPlayer gplayer) {
        this.gplayer = gplayer;
    }

    @Override
    public void execute() {
        gplayer.pause();
    }
}
